package characters;

public class Kyo extends Fighter {
    public Kyo(int x, int y) {
        super(x, y);
        this.walkSpeed = 4; // 草薙京移动速度稍快
        this.attackDamage = 12; // 攻击力较低
        this.name="草薙京";
    }

    @Override
    protected void loadAnimations() {
        // 加载所有动作GIF
        animation.addAnimation("IDLE", "/characters/kyo/idle1.gif", true, 0);
        animation.addAnimation("WALK", "/characters/kyo/walk1.gif", true, 0);
        animation.addAnimation("JUMP", "/characters/kyo/idle1.gif", false, 1000);
        animation.addAnimation("ATTACK", "/characters/kyo/attack1.gif", false, 800);
        animation.addAnimation("BLOCK", "/characters/kyo/block1.gif", true, 0);
        animation.addAnimation("HIT", "/characters/kyo/hitLoop.gif", false, 500);
        animation.addAnimation("KO", "/characters/kyo/ko3.gif", false, 1500);
        animation.addAnimation("KICK", "/characters/kyo/kick1.gif", false, 800);
        animation.addAnimation("DASH", "/characters/kyo/dash1.gif", true, 0);
        animation.addAnimation("DOWN", "/characters/kyo/down1.gif", false, 3000);
        // 初始播放站立动画
        animation.play("IDLE");
    }
}
